deriving engineering equations